Add protos for gs_get_cachetype.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 17 Jun 2005 14:09:13 +0000 (14:09 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 17 Jun 2005 14:09:13 +0000 (14:09 +0000)
gpsbabel/defs.h
gpsbabel/maggeo.c

index 4ac800dcbc1f5bef3dac16dc45454982cbfebc85..ef0e338f178f67dc9db11ca4f6f3af69cd80cc6f 100644 (file)
@@ -538,6 +538,7 @@ signed int get_tz_offset(void);
 time_t current_time(void);
 signed int month_lookup(const char *m);
 const char *get_cache_icon(const waypoint *waypointp);
+const char *gs_get_cachetype(geocache_type t);
 char * xml_entitize(const char * str);
 char * html_entitize(const char * str);
 char * strip_html(const utf_string*);
index 5545f74625ac5aaddaefbfeaef53493799b90e78..94cddd34ff496e55802498687865a60ff78e4c99 100644 (file)
@@ -130,7 +130,7 @@ maggeo_waypt_pr(const waypoint *waypointp)
        int lon_deg, lat_deg;
        char *shortname;
        char *cname = NULL;
-       char *ctype = NULL;
+       const char *ctype = NULL;
        char *placer = NULL;
        char *lfounddate = NULL;
        char *placeddate = NULL;